package com.kajespero.domain.commons;

import com.kajespero.dao.commons.ReadWriteDAO;
import com.kajespero.vo.IdentifierVO;

public interface ReadWriteDomain<D extends ReadWriteDAO<T, Id>, T extends IdentifierVO<Id>, Id extends Comparable<Id>>  extends ReadDomain<D, T, Id>{

	public void saveOrUpdade(T instance);
	
	public void delete(T instance);
	
	public void delete(Id identifier);
	
	public T createNewBean();
}
